﻿using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting.Web;
using TimeManager.Web.Controllers;
using TimeManager.Domain.Entities;


namespace TimeManager.Web.Tests.Controllers {

    [TestClass]
    public class HomeControllerTest {
    
        [TestMethod]
        public void Index() {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.Index() as ViewResult;

            // Assert
            Assert.AreEqual("Individual Project for COMP550 by Carl Edwards", result.ViewBag.Message);
        }

    }
}
